package com.rc.saas.payment.wxpay.vo;

import java.io.Serializable;

/**
 * 微信异步通知报文封装对象
 * Created by sven on 2017/7/6.
 */
public class WxPayNotifyVo implements Serializable {
    //<xml>
//    <appid><![CDATA[wxb683cc049209b44a]]></appid>
//    <attach><![CDATA[支付测试]]></attach>
//    <bank_type><![CDATA[CFT]]></bank_type>
//    <cash_fee><![CDATA[1]]></cash_fee>
//    <fee_type><![CDATA[CNY]]></fee_type>
//    <is_subscribe><![CDATA[N]]></is_subscribe>
//    <mch_id><![CDATA[1483601052]]></mch_id>
//    <nonce_str><![CDATA[fce625f319a84d7db562a5bbaaa692ce]]></nonce_str>
//    <openid><![CDATA[oS5FF1WsPBEUIA1PiOmZeX8lMdX4]]></openid>
//    <out_trade_no><![CDATA[PC20170628112205000762]]></out_trade_no>
//    <result_code><![CDATA[SUCCESS]]></result_code>
//    <return_code><![CDATA[SUCCESS]]></return_code>
//    <sign><![CDATA[A8B09B0E7A1129BEDDFDC523BC4711C1]]></sign>
//    <time_end><![CDATA[20170706101602]]></time_end>
//    <total_fee>1</total_fee>
//    <trade_type><![CDATA[APP]]></trade_type>
//    <transaction_id><![CDATA[4003382001201707069139390582]]></transaction_id>
//</xml>
    private String appid;

    private String bank_type;

    //现金支付金额
    private Long cash_fee;

    //货币种类
    private String fee_type;

    //是否关注公众账号
    private String is_subscribe;

    // 商户编号
    private String mch_id;

    private String nonce_str;

    //用户标识
    private String openid;

    private String out_trade_no;
    private String result_code;
    private String return_code;
    private String return_msg;
    private String sign;

    //支付完成时间
    private String time_end;

    //订单总金额，单位为分
    private Long total_fee;

    //交易类型
    private String trade_type;

    //微信支付订单号
    private String transaction_id;

    private String notify_url;

    //附加数据/自定义参数,异步通知时可以原样返回
    private String attach;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getBank_type() {
        return bank_type;
    }

    public void setBank_type(String bank_type) {
        this.bank_type = bank_type;
    }

    public Long getCash_fee() {
        return cash_fee;
    }

    public void setCash_fee(Long cash_fee) {
        this.cash_fee = cash_fee;
    }

    public String getFee_type() {
        return fee_type;
    }

    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }

    public String getIs_subscribe() {
        return is_subscribe;
    }

    public void setIs_subscribe(String is_subscribe) {
        this.is_subscribe = is_subscribe;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getResult_code() {
        return result_code;
    }

    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTime_end() {
        return time_end;
    }

    public void setTime_end(String time_end) {
        this.time_end = time_end;
    }

    public Long getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(Long total_fee) {
        this.total_fee = total_fee;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }
}
